package com.mz.mattress.admin.service;

import com.mz.mattress.admin.api.resp.CashOutResp;
import com.mz.mattress.api.common.Result;

public interface HongBaoService {

    String APP_ID = "wxdcedcd0014be9e99";

    String SUCCESS = "SUCCESS";

    /**
     * 商家转账 待用户确认
     * @param memberId
     * @param money
     * @param ip
     * @return
     */
    Result<CashOutResp> cashOut(Long memberId, Integer money, String ip);

    //查询是否已支付
    Result<String> queryIsPaid(String cashId);

    //关闭提现订单
    Result closeCashOutOrder(String cashId);

}
